package com.ddkj.netty.comm;

import java.io.Serializable;

/**
 * 数据格式
 */
public class JSONDateFormat implements Serializable {

    private String sender;//发送者
    private String recipient;//消费者
    private String data;//数据

    public JSONDateFormat() {

    }

    public JSONDateFormat(String sender, String recipient, String data) {
        this.sender = sender;
        this.recipient = recipient;
        this.data = data;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
